<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>学员</title>
<link rel="stylesheet" type="text/css"
	href="<%=contextPath%>/css/login.css">
</head>
<body>
<form action="<%=contextPath%>/StudentServlet?method=login"
		method="post">
		<div class="dl">
			<div class="weib">
				<span>
					<p>用户名：</p> <input name="userName" id="userName" type="text"
					class="text1" />
				</span> <span>
					<p>密&nbsp;&nbsp;码：</p> <input name="password" id="password"
					type="password" class="text1" />
				</span> <span>
					<p>校验码：</p> <input name="verifyCode" id="verifyCode" type="text"
					class="text1" /> <em> <img border=0 src="<%=request.getContextPath()%>/verificationCodeServlet">
				</em>
				</span>
			</div>

			<div class="ann">
				<input class="btn1" name="Input" type="submit" value="" /> <input
					class="btn2" name="" type="button" />
					<%String msg = (String)request.getAttribute("msg");
							if(msg!=null){
								out.print("<h1 style='color:red'>"+msg+"</h1>");
							}
						 %>
			</div>
		</div>
	</form>
</body>
</html>